package com.boatAnchorAssistant.service.repository.impl;

import com.boatAnchorAssistant.pojo.entity.ITable;
import com.boatAnchorAssistant.service.mapper.ITableMapper;
import com.boatAnchorAssistant.service.repository.in.ITableRepository;
import nirvana.core.repository.Repository;
import org.springframework.stereotype.Service;
    import com.boatAnchorAssistant.pojo.dto.iTable.*;
    import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

/**
* 【描 述】：
* 【环 境】：J2SE
* 【详 细】：
*
*/
@Service
public class ITableRepositoryImpl extends Repository< ITableMapper , ITable> implements ITableRepository {

private final ITableMapper mapper;

public ITableRepositoryImpl(ITableMapper mapper) {
this.mapper = mapper;
}

    /**
    * 搜索表单
    * @param dto
    * @return
    */
    @Override
    public Page< ITable > selectITable(SelectITableDto dto){

    return mapper.selectITable(dto);
    }

}